package com.ruoyi.base.mapper;

import com.ruoyi.base.domain.BaseMeeting;
import com.ruoyi.cems.domain.dto.EmergencyDuty;

import java.util.List;

public interface BaseMeetingMapper {

    /**
     * 添加会议
     * @param meeting
     * @return
     */
    int insertBaseMeeting(BaseMeeting meeting);

    /**
     * 修改会议
     * @param meeting
     * @return
     */
    int updateBaseMeeting(BaseMeeting meeting);

    /**
     * 删除会议
     * @param ID
     *
     * @return
     */
    int deleteBaseMeeting(String ID);

    /**
     * 根据会议ID查询会议
     * @param ID
     * @return
     */
    BaseMeeting selectBaseMeetingById(String ID);

    /**
     * 查询会议列表
     * @param meeting
     * @return
     */
    List<BaseMeeting> selectBaseMeetingList(BaseMeeting meeting);

    List<EmergencyDuty> selectEmergencyDutyList(BaseMeeting meeting);
}
